<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
<link href="../lib/jqPlugins/jQueryUI/css/hot-sneaks/jquery-ui-1.8.7.custom.css" type="text/css" />
<style type="text/css">
/* General */
#cssdropdown, #cssdropdown ul {
	list-style: none;
}
#cssdropdown, #cssdropdown * {
	padding: 0;
	margin: 0;
}
/* Head links */
#cssdropdown li.headlink {
	width: 220px;
	float: left;
	margin-left: -1px;
	border: 1px black solid;
	background-color: #e9e9e9;
	text-align: left;
	display: block;
	padding: 5px;
}
#cssdropdown li.headlink a {
	text-decoration:none;
}
/* Child lists and links */
#cssdropdown li.headlink ul {
	display: none;
	border-top: 1px black solid;
	text-align: left;
}
#cssdropdown li.headlink:hover ul {
	display: block;
}
#cssdropdown li.headlink ul li  {
	vertical-align:middle;
	padding: 5px;
	height: 16px;
	border-bottom:solid 1px #555;
}

#cssdropdown li.headlink ul li:hover {
	background-color: #333;
}

#cssdropdown img {
	padding-right:5px;
	height: 12px;
	width: 12px;
}
/* Pretty styling 

#cssdropdown a {
	color: black;
	text-decoration: none;
}
#cssdropdown ul li a:hover {
	text-decoration: none;
}
#cssdropdown li.headlink ul {
	background-image: url(bg.gif);
	background-position: bottom;
	padding-bottom: 10px;
}
#cssdropdown li.headlink ul {
	background-image: url(bg.gif);
	background-position: bottom;
	padding-bottom: 10px;
}
*/
#ratingdisplay
{
	position:absolute;
	height: 100px;
	right:0px;
	width: 100px;
	bottom:0px;
	background-color:#999;
}
</style>
<script language="JavaScript"> 
	$(document).ready(function(){
		$('#cssdropdown li.headlink').hover(
			function() { $('ul', this).css('display', 'block'); },
			function() { $('ul', this).css('display', 'none'); });
		$("#cssdropdown li ul li").click(function()
		{
			$("#cssdropdown li.headlink a").html($(this).html());
			$("input#rating").val($(this).val());
			$('ul', this).css('display', 'none'); 
			$("#ratingdisplay").html($("input#rating").val());
		});						
	});
	
</script>
</head>
<body>
<ul id="cssdropdown">
  <li class="headlink ui-button"><a href="#"><img src="../images/monopoly-house-yellow24.png" alt="" />Not Rated</a><span style="display:block; width: 16px; height: 16px; float:right; padding-right:5px" class="ui-icon ui-icon-triangle-1-s"></span>
    <ul>
      <li value="neg2"><img src="../images/monopoly-house-red24.png" alt="" />Confirmed Shithole</li>
      <li value="neg1"><img src="../images/monopoly-house-blue24.png" alt="" />Not Interested</li>
      <li value="pos0"><img src="../images/monopoly-house-yellow24.png" alt="" />Not Rated</li>
      <li value="pos1"><img src="../images/monopoly-house-green24.png" alt="" />Flag for Visit</li>
      <li value="pos2"><img src="../images/monopoly-house-purple24.png" alt="" />Visted and it's awesome</li>
    </ul>
  </li>
</ul>
<input id="rating" type="hidden" value="0" /><div id="ratingdisplay"></div>
</body>
</html>